using System;
using System.Collections.Generic;
using System.Text;

namespace MosziNET.Web.Gallery.Controls
{

    /// <summary>
    /// Defines a standard interface that all custom controls have to impelement
    /// </summary>
    public interface ICustomControl
    {
        /// <summary>
        /// An event that is fired when the custom control finished it's job
        /// </summary>
        /// <returns></returns>
        event EventHandler<EventArgs> FinishedWorkflow;

        /// <summary>
        /// Called to notify the custom control to finish it's job
        /// </summary>
        void FinishWorkflow();
    }
}
